<template>
  <div class="demoDetail">
    <div class="helloData">
      小组件使用指南
    </div>
  </div>
</template>

<script>
export default {
  props: {
    rules: {
      type: Array,
      default: function () {
        return []
      }
    }
  },
  methods: {
    // 滚动到指定位置
    scrolltoDom (id) {
      this.$emit('scrollTo', id)
    }
  }
}
</script>

<style lang="less">
  .demoDetail {
    height: 100%;
    .helloData {
      padding: 20px;
      display: flex;
      justify-content: center;
    }
  }
</style>
